Optimal. Leaf size=70 \[ \frac {1}{3} \left (a+b x^4\right )^{3/4}+\frac {1}{2} a^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right )-\frac {1}{2} a^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {272, 52, 65,
304, 209, 212} \begin {gather*} \frac {1}{2} a^{3/4} \text {ArcTan}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right )-\frac {1}{2} a^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right )+\frac {1}{3} \left (a+b x^4\right )^{3/4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 209
Rule 212
Rule 272
Rule 304
Rubi steps
\begin {align*} \int \frac {\left (a+b x^4\right )^{3/4}}{x} \, dx &=\frac {1}{4} \text {Subst}\left (\int \frac {(a+b x)^{3/4}}{x} \, dx,x,x^4\right )\\ &=\frac {1}{3} \left (a+b x^4\right )^{3/4}+\frac {1}{4} a \text {Subst}\left (\int \frac {1}{x \sqrt [4]{a+b x}} \, dx,x,x^4\right )\\ &=\frac {1}{3} \left (a+b x^4\right )^{3/4}+\frac {a \text {Subst}\left (\int \frac {x^2}{-\frac {a}{b}+\frac {x^4}{b}} \, dx,x,\sqrt [4]{a+b x^4}\right )}{b}\\ &=\frac {1}{3} \left (a+b x^4\right )^{3/4}-\frac {1}{2} a \text {Subst}\left (\int \frac {1}{\sqrt {a}-x^2} \, dx,x,\sqrt [4]{a+b x^4}\right )+\frac {1}{2} a \text {Subst}\left (\int \frac {1}{\sqrt {a}+x^2} \, dx,x,\sqrt [4]{a+b x^4}\right )\\ &=\frac {1}{3} \left (a+b x^4\right )^{3/4}+\frac {1}{2} a^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right )-\frac {1}{2} a^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 70, normalized size = 1.00 \begin {gather*} \frac {1}{3} \left (a+b x^4\right )^{3/4}+\frac {1}{2} a^{3/4} \tan ^{-1}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right )-\frac {1}{2} a^{3/4} \tanh ^{-1}\left (\frac {\sqrt [4]{a+b x^4}}{\sqrt [4]{a}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (b \,x^{4}+a \right )^{\frac {3}{4}}}{x}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 71, normalized size = 1.01 \begin {gather*} \frac {1}{4} \, a {\left (\frac {2 \, \arctan \left (\frac {{\left (b x^{4} + a\right )}^{\frac {1}{4}}}{a^{\frac {1}{4}}}\right )}{a^{\frac {1}{4}}} + \frac {\log \left (\frac {{\left (b x^{4} + a\right )}^{\frac {1}{4}} - a^{\frac {1}{4}}}{{\left (b x^{4} + a\right )}^{\frac {1}{4}} + a^{\frac {1}{4}}}\right )}{a^{\frac {1}{4}}}\right )} + \frac {1}{3} \, {\left (b x^{4} + a\right )}^{\frac {3}{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 132 vs.
\(2 (50) = 100\).
time = 0.39, size = 132, normalized size = 1.89 \begin {gather*} -{\left (a^{3}\right )}^{\frac {1}{4}} \arctan \left (-\frac {{\left (b x^{4} + a\right )}^{\frac {1}{4}} {\left (a^{3}\right )}^{\frac {1}{4}} a^{2} - \sqrt {\sqrt {b x^{4} + a} a^{4} + \sqrt {a^{3}} a^{3}} {\left (a^{3}\right )}^{\frac {1}{4}}}{a^{3}}\right ) - \frac {1}{4} \, {\left (a^{3}\right )}^{\frac {1}{4}} \log \left ({\left (b x^{4} + a\right )}^{\frac {1}{4}} a^{2} + {\left (a^{3}\right )}^{\frac {3}{4}}\right ) + \frac {1}{4} \, {\left (a^{3}\right )}^{\frac {1}{4}} \log \left ({\left (b x^{4} + a\right )}^{\frac {1}{4}} a^{2} - {\left (a^{3}\right )}^{\frac {3}{4}}\right ) + \frac {1}{3} \, {\left (b x^{4} + a\right )}^{\frac {3}{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.59, size = 44, normalized size = 0.63 \begin {gather*} - \frac {b^{\frac {3}{4}} x^{3} \Gamma \left (- \frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {3}{4}, - \frac {3}{4} \\ \frac {1}{4} \end {matrix}\middle | {\frac {a e^{i \pi }}{b x^{4}}} \right )}}{4 \Gamma \left (\frac {1}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 185 vs.
\(2 (50) = 100\).
time = 1.45, size = 185, normalized size = 2.64 \begin {gather*} -\frac {1}{4} \, \sqrt {2} \left (-a\right )^{\frac {3}{4}} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (-a\right )^{\frac {1}{4}} + 2 \, {\left (b x^{4} + a\right )}^{\frac {1}{4}}\right )}}{2 \, \left (-a\right )^{\frac {1}{4}}}\right ) - \frac {1}{4} \, \sqrt {2} \left (-a\right )^{\frac {3}{4}} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (-a\right )^{\frac {1}{4}} - 2 \, {\left (b x^{4} + a\right )}^{\frac {1}{4}}\right )}}{2 \, \left (-a\right )^{\frac {1}{4}}}\right ) + \frac {1}{8} \, \sqrt {2} \left (-a\right )^{\frac {3}{4}} \log \left (\sqrt {2} {\left (b x^{4} + a\right )}^{\frac {1}{4}} \left (-a\right )^{\frac {1}{4}} + \sqrt {b x^{4} + a} + \sqrt {-a}\right ) - \frac {1}{8} \, \sqrt {2} \left (-a\right )^{\frac {3}{4}} \log \left (-\sqrt {2} {\left (b x^{4} + a\right )}^{\frac {1}{4}} \left (-a\right )^{\frac {1}{4}} + \sqrt {b x^{4} + a} + \sqrt {-a}\right ) + \frac {1}{3} \, {\left (b x^{4} + a\right )}^{\frac {3}{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.14, size = 50, normalized size = 0.71 \begin {gather*} \frac {a^{3/4}\,\mathrm {atan}\left (\frac {{\left (b\,x^4+a\right )}^{1/4}}{a^{1/4}}\right )}{2}-\frac {a^{3/4}\,\mathrm {atanh}\left (\frac {{\left (b\,x^4+a\right )}^{1/4}}{a^{1/4}}\right )}{2}+\frac {{\left (b\,x^4+a\right )}^{3/4}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________